package com.myapp.model;

import java.util.Date;
import java.util.Set;

public class Account {
	
	private Long id;
	private String username;
	private String password;
	private UserInfo user;
	private Set<Role> roles;
	private Status status;
	private Date expire;
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public UserInfo getUser() {
		return user;
	}
	public void setUser(UserInfo user) {
		this.user = user;
	}
	public Set<Role> getRoles() {
		return roles;
	}
	public void setRole(Set<Role> roles) {
		this.roles = roles;
	}
	public Status getStatus() {
		return status;
	}
	public void setStatus(Status status) {
		this.status = status;
	}
	public Date getExpire() {
		return expire;
	}
	public void setExpire(Date expire) {
		this.expire = expire;
	}
}
